.message-board {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #F8F9FA;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #333333;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: #F8F9FA;
  border-bottom: 1px solid #E5E5E5;
}

.title {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.filter-group {
  display: flex;
  gap: 12px;
}

.filter-btn,
.category-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: white;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  color: #666666;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.category-btn:hover {
  background-color: #f0f0f0;
}

.message-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-card {
  background-color: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s;
}

.message-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 500;
  font-size: 15px;
}

.message-time {
  font-size: 12px;
  color: #666666;
}

.priority-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.priority-low {
  background-color: #58C9B9;
}

.priority-medium {
  background-color: #F5A623;
}

.priority-high {
  background-color: #E94F64;
}

.message-content {
  margin-bottom: 12px;
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.message-content.expanded {
  max-height: 500px;
}

.message-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
}

.message-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: #333333;
}

.actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #F0F0F0;
  border: none;
  color: #666666;
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn:hover {
  background-color: #E0E0E0;
}

.input-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: white;
  border-top: 1px solid #E5E5E5;
}

.voice-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #4A90E2;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.voice-btn:hover {
  background-color: #3a80d2;
}

.voice-btn .recording {
  color: #E94F64;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.input-container {
  flex: 1;
  position: relative;
}

.message-input {
  width: 90%;
  padding: 12px 16px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.message-input:focus {
  border-color: #4A90E2;
}

.voice-wave {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}

.wave-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #4A90E2;
  border-radius: 50%;
  animation: wave 1.4s infinite ease-in-out;
}

.wave-dot:nth-child(1) {
  animation-delay: 0s;
}

.wave-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.wave-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes wave {

  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-6px);
  }
}

.quick-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.priority-selector {
  display: flex;
  gap: 4px;
  background-color: #F0F0F0;
  padding: 4px;
  border-radius: 20px;
}

.priority-option {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.priority-option.active {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.priority-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tag-selector {
  display: flex;
  gap: 4px;
}

.tag-option {
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-option:hover {
  opacity: 0.8;
}

.send-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #4A90E2;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.send-btn:hover {
  background-color: #3a80d2;
}

.priority-high {
  border-left: 4px solid #E94F64;
}

.priority-medium {
  border-left: 4px solid #F5A623;
}